package com.itheima.dao;

import com.itheima.domain.Role;
import com.itheima.domain.User;
import org.springframework.jdbc.core.JdbcTemplate;

import java.util.List;

public interface RoleDao {
   List<Role> findAll();

    void save(String roleName,String roleDesc);

    List<Role> findRoleByUserId(Long id);


}
